package com.yiran.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yiran.pojo.Result;
import com.yiran.pojo.User;

import java.security.NoSuchAlgorithmException;

public interface UserService extends IService<User> {
    User register(String username, String password) throws NoSuchAlgorithmException;

    User login(String username, String password) throws NoSuchAlgorithmException;
}
